﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/SacNetUG.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<SacNetUG.Models.ViewModels.Home.IndexViewModel>>" %>

<%@ Import Namespace="MvcContrib.UI.Grid" %>
<asp:Content ID="indexTitle" ContentPlaceHolderID="TitleContent" runat="server">
</asp:Content>
<asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">
    <h1>
        Sacramento Dot Net User Group
    </h1>
    <p>
        <strong>SacDotNet </strong>(<a href="http://www.SacNetUg.org">www.SacNetUg.org</a>)
        is an independent forum of DotNet users for extending knowledge on .NET and contributing
        to its adoption by the business and technology community of the Sacramento area.</p>
    <h2>
        SacDotNet Events</h2>
    <%=ViewData["RsvpMessage"] %>
    <%Html.Grid(Model).AutoGenerateColumns().RowAttributes(x => new Dictionary<string, object> { { "onClick", "window.location.href ='/Event/Index'" }, {"style", "cursor:pointer;"} }).Render();
%>
    <h2>
        Event Location &amp; Event Announcements</h2>
    <p>
        UC Davis Extension, Sutter Square Galleria, 2901 K St., Sacramento, CA 95816<br />
        Please register to this site to receive event announcement, meeting location and
        meeting agenda.<br />
        RSVP<br />
        Please login and click the RSVP button
    </p>
    <br />
    <br />
    <div class="sponsorBox">
        <a href="https://www.microsoft.com/MindShare/UserGroup/ViewGroupSummary.aspx?id=255212">
            <br />
            <img src="<%=Links.Content.msdn_gif %>" alt="MSDN" width="115" height="45" border="0" /><br />
            <br />
            <p align="center">
                Powered by Microsoft ASP.NET MVC 2</p>
        </a>
</asp:Content>
